html,body{
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    background: black;
    font-size: 10px;
}
.clock_container{
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: black;
}
.clock{
    display: inline-block;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}
.clock{
    margin: 5rem 0px;
}
.landscape .clock{
    margin: 0px;
}
@media all and (orientation : portrait){
    .landscape{
        display: none;
    }
}
@media all and (orientation : landscape){
    .portrait{
        display: none;
        transform: scale(2);
    }
}
@media only screen and (min-width: 320px) {
    .portrait .clock{
        margin: 5rem 0px;
        transform: scale(1.5);
    }
    .landscape .clock{
        transform: scale(1.2);
    }
}
@media only screen and (min-width: 375px) {
    .portrait .clock{
        margin: 8rem 0px;
        transform: scale(1.8);
    }
    .landscape .clock{
        transform: scale(1.2);
    }
}
@media only screen and (min-width: 390px) {
    .portrait .clock{
        margin: 10rem 0px;
        transform: scale(2);
    }
}
@media only screen and (min-width: 414px) {
    .portrait .clock{
        margin: 12rem 0px;
        transform: scale(2.2);
    }
}
@media only screen and (min-width: 568px) {
    .landscape .clock{
        transform: scale(1);
    }
}
@media only screen and (min-width: 667px) {
    .landscape .clock{
        transform: scale(1.2);
    }
}
@media only screen and (min-width: 736px) {
    .landscape .clock{
        margin: 18rem 0px;
        transform: scale(1.4);
    }
}
@media only screen and (min-width: 768px) {
    .portrait .clock{
        margin: 18rem 0px;
        transform: scale(2.8);
    }
}
@media only screen and (min-width: 820px) {
    .portrait .clock{
        margin: 22rem 0px;
        transform: scale(3.2);
    }
}
@media only screen and (min-width: 844px) {
    .landscape .clock{
        transform: scale(1.6);
    }
}
@media only screen and (min-width: 896px) {
    
    .landscape .clock{
        transform: scale(1.6);
    }
}
@media only screen and (min-width: 1024px) {
    .landscape .clock{
        transform: scale(1.8);
    }
}
@media only screen and (min-width: 1180px) {
    .landscape .clock{
        transform: scale(2.2);
    }
}